{% extends "base.html" %}


{% block css %}
<link rel="stylesheet" href="/static/css/tagging.css" />
{% endblock %}

{% block content %}
  <table class="table">
    <tr>
      <th>Date</th>
      <th>User</th>
      <th>Status</th>
      <th>Message</th>
    </tr>
    {% for log in logs %}
    <tr>
      <td>{{log.log_date|date:"d/m/Y H:i:s"}}</td>
      <td>{{ log.user }}</td>
      <td>{{ log.status }}</td>
      <td>
        {% if log.title %}
          {{ log.action }}: <a href="/curate_videos?search_videoid={{log.videoid}}">{{ log.title }}</a>
        {% else %}
          {{ log.message|safe}}
        {% endif %}
      </td>
    </tr>
    {% endfor %}
  </table>

{% endblock %}
